package com.itttq.gshop.domain.po;

import java.math.BigDecimal;
import java.util.Date;

/** 订单商品信息表，记录订单的所有商品信息 **/

public class OrderWarePo extends BasePo {
	private static final long serialVersionUID = -5256274995013396L;
	/* 总金额，购买此种商品的小计金额 */
	private BigDecimal amountTotal;
	/* 创建时间，即注册时间 */
	private Date createTime;
	/* 创建人ID */
	private Integer creatorId;
	
	private Integer id;
	/* 商品主图 */
	private String imageMain;
	/* 购买数量。 */
	private Integer number;
	/* 订单ID */
	private Integer orderId;
	/* 原价 */
	private BigDecimal priceOriginal;
	/* 购买价 */
	private BigDecimal pricePromotional;
	/* 数据更新时间 */
	private Date updateTime;
	/* 更新人ID */
	private Integer updaterId;
	/* 商品ID */
	private Integer wareId;
	/* 商品名称 */
	private String wareName;
	/* 备注，如满5件送1，满10件送2000积分；满20件减100元等 */
	private String remark;
	/* 总积分，购买此种商品的总积分，此积分不一定是单个商品积分 * 商品数量。因为有活动的时候可能会买多少多送多少积分。暂时不实现 */
	private Integer scoreTotal;
	/* 单个积分 */
	private Integer score;
	/* 推广获取积分。取整 */
	private Integer scorePromote;
	/* 推广获取总积分。取整 */
	private Integer scorePromoteTotal;
	
	public Integer getScorePromote() {
		return scorePromote;
	}
	public void setScorePromote(Integer scorePromote) {
		this.scorePromote = scorePromote;
	}
	public Integer getScorePromoteTotal() {
		return scorePromoteTotal;
	}
	public void setScorePromoteTotal(Integer scorePromoteTotal) {
		this.scorePromoteTotal = scorePromoteTotal;
	}
	public BigDecimal getAmountTotal() {
		return amountTotal;
	}
	public void setAmountTotal(BigDecimal amountTotal) {
		this.amountTotal = amountTotal;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Integer getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getImageMain() {
		return imageMain;
	}
	public void setImageMain(String imageMain) {
		this.imageMain = imageMain;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getScoreTotal() {
		return scoreTotal;
	}
	public void setScoreTotal(Integer scoreTotal) {
		this.scoreTotal = scoreTotal;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	
	public BigDecimal getPriceOriginal() {
		return priceOriginal;
	}
	public void setPriceOriginal(BigDecimal priceOriginal) {
		this.priceOriginal = priceOriginal;
	}
	
	public BigDecimal getPricePromotional() {
		return pricePromotional;
	}
	public void setPricePromotional(BigDecimal pricePromotional) {
		this.pricePromotional = pricePromotional;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Integer getUpdaterId() {
		return updaterId;
	}
	public void setUpdaterId(Integer updaterId) {
		this.updaterId = updaterId;
	}
	
	public Integer getWareId() {
		return wareId;
	}
	public void setWareId(Integer wareId) {
		this.wareId = wareId;
	}
	
	public String getWareName() {
		return wareName;
	}
	public void setWareName(String wareName) {
		this.wareName = wareName;
	}
	
}